<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<!-- meta -->
<meta name="keywords" content="">
<meta name="description" content="">
<!-- /meta -->
<title>ファイルプレビュー</title>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/headerfooter.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/ulol.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/arrow.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements.css">
<!-- admin -->
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base_admin.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements_admin.css">
<!-- /admin -->
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/library.js"></script>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie3.css">
<!--[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_over_winie5.css">
<![endif]-->
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie5.css">
<![endif]-->
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/swfobject.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/dataEntryCommon.js"></script>

<SCRIPT type="text/javascript">
function onloadPreViewData(){
 	window.resizeTo(720,800);

}
</SCRIPT>
</head>
<body id="dch" onload="onloadPreViewData()">
<!-- === headerArea === -->
<div id="headerArea">
<a name="pageTop" id="pageTop"></a>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td height="28" id="gNaviArea">
		<!-- === gNaviArea === -->
			&nbsp;
		<!-- === /gNaviArea === -->
		</td>
	</tr>
</table>
</div><!-- === /headerArea === -->
<!-- === mainArea === -->
<div id="mainArea">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td width="140" id="leftArea">
		</td>
		<td width="20"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="20" height="4" border="0" alt=""></td>
		<td id="contentsArea">
		<!-- === contentsArea === -->
			<!-- headingLv01Block -->
			<div class="headingLv01Block">
				<!-- headingLv01 -->
				<h1>ファイルプレビュー</h1>
				<!-- /headingLv01 -->
				<!-- lead -->
				<div class="lead">
				</div>
				<!-- /lead -->
			</div>
			<!-- /headingLv01Block -->
			<!-- columnB01 -->
			<div class="columnB01">
			</div>
			<!-- /columnB01 -->
			<div class="tableA01">
			<table border="1" cellspacing="0" cellpadding="5" width="650">
				<tr>
					<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">ファイル名</label></th>
					<!-- 内容 --><td><span id="fileName">${filename}</span></td>
				</tr>
			</table>
			</div>
			<div class="tableBlock">
				<!-- tableA01 -->
				<div class="tableA01">
				<table border="1" cellspacing="0" cellpadding="5">
					<tr>
						<td>
							<s:if test='contenttype=="1"'>
								<div id="myContent">
								<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
								</div>
								<!-- width="525" height="391" -->
								<script type="text/javascript">
									var flashvars = {
									  videoWidth:'0',
									  videoHeight:'0',
									  dsControl:'manual',
									  dsSensitivity:'100',
									  DS_Status:'true',
									  streamType:'vod',
									  autoStart:'true',
									  serverURL:'<s:property value="%{getText('FLV_SRV')}"/><s:property value="realfilename"/>'
									  };
									swfobject.embedSWF("<%= request.getContextPath() %>/common/swf/videoPlayer.swf", "myContent", "630", "377","9.0.0", "<%= request.getContextPath() %>/common/swf/expressInstall.swf", flashvars);
								</script>
							</s:if>
							<s:else>
							 <a href="<%= request.getContextPath() %>/uploadFolder/<s:property value="realfilename"/>" target="blank" ><img src="<%= request.getContextPath() %>/uploadFolder/<s:property value="realfilename"/>" width="630" height="377" border="0" alt=""></a>
							</s:else>
							&nbsp;&nbsp;</td>
					</tr>
				</table>
				</div>
				<!-- /tableA01 -->
			</div>
			<div class="pageNaviC01">
			<table border="0" cellspacing="0" cellpadding="10" width="650">
				<tr>
					<td width class="left">&nbsp;</td>
					<td width="130" class="right"><p><input type="button" value="閉じる" style="width:130px" onclick="window.close();"></p></td>
				</tr>
			</table>
			</div>
			<!-- === /contentsArea === -->
		</td>
		<td width="16"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="16" height="4" border="0" alt=""></td>
	</tr>
</table>
</div><!-- === /mainArea === -->
<!-- === footerArea === -->
<div id="footerArea">
<!--#include virtual="<%= request.getContextPath() %>/common/include/footer.html" -->
</div><!-- === /footerArea === -->
</body>
</html>
<!-- System Architect is COOBA Corp
	Copyright 2010 COOBA Corp All rights reserved -->
